package com.huawei.petapp2.entity;

import java.io.Serializable;
import java.util.List;

public  class TestBean implements Serializable {
    private int good_id;
    private String good_name;
    private String good_des;
    private  double good_price;
    private String timg_id;
    private int goods_type;
    private int type;

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }



    public void setGood_id(int good_id) {
        this.good_id = good_id;
    }

    public int  getGoods_type() {
        return goods_type;
    }

    public void setGoods_type(int  goods_type) {
        this.goods_type = goods_type;
    }

    public List<TestBean> getGoodsInfo() {
        return goodsInfo;
    }

    public void setGoodsInfo(List<TestBean> goodsInfo) {
        this.goodsInfo = goodsInfo;
    }

    private List<TestBean> goodsInfo;

    public TestBean(int good_id, String good_name, String good_des, double good_price, String timg_id, int goods_type, int type) {
        this.good_id = good_id;
        this.good_name = good_name;
        this.good_des = good_des;
        this.good_price = good_price;
        this.timg_id = timg_id;
        this.goods_type=goods_type;
        this.type=type;
    }

    public void setGood_id(Integer good_id) {
        this.good_id = good_id;
    }

    public void setGood_name(String good_name) {
        this.good_name = good_name;
    }

    public void setGood_des(String good_des) {
        this.good_des = good_des;
    }

    public void setGood_price(double good_price) {
        this.good_price = good_price;
    }

    public void setTimg_id(String timg_id) {
        this.timg_id = timg_id;
    }

    public Integer getGood_id() {
        return good_id;
    }

    public String getGood_name() {
        return good_name;
    }

    public String getGood_des() {
        return good_des;
    }

    public double getGood_price() {
        return good_price;
    }

    public String getTimg_id() {
        return timg_id;
    }

    @Override
    public String toString() {
        return "Goods{" +
                "good_id=" + good_id +
                ", good_name='" + good_name + '\'' +
                ", good_des='" + good_des + '\'' +
                ", good_price=" + good_price +
                ", timg_id='" + timg_id + '\'' +
                '}';
    }
}
